<div class="page-top clearfix" baScrollPosition maxHeight="50" (scrollChange)="scrolledChanged($event)"
     [ngClass]="{scrolled: isScrolled}">
  <a routerLink="/pages/hospital" class="al-logo clearfix"><span>主页</span></a>
  <a href (click)="toggleMenu()" class="collapse-menu-link ion-navicon"></a>

  <div class="systitle">
    <h2>柒拾佳护平台</h2>
  </div>

  <div class="user-profile clearfix">
    <div *ngIf="isLogin">
      <span>{{userName}}</span>
      <button class="btn btn-primary" (click)="logOut()">logout</button>
    </div>
  </div>
</div>
